package com.rssnews.pojo;

/**
 * Created by dzhou on 2018/6/5.
 */
public class News {
    private int newID;
    private int section;
    private String title;
    private int authorId;
    private String content;
    private int newstypeId;
    private int newsstateId;
    private String picture;
    private String vidoes;
    private String sing;

    @Override
    public String toString() {
        return "news{" +
                "newID=" + newID +
                ", section=" + section +
                ", title='" + title + '\'' +
                ", authorId=" + authorId +
                ", content='" + content + '\'' +
                ", newstypeId=" + newstypeId +
                ", newsstateId=" + newsstateId +
                ", picture='" + picture + '\'' +
                ", vidoes='" + vidoes + '\'' +
                ", sing='" + sing + '\'' +
                '}';
    }

    public int getNewID() {
        return newID;
    }

    public void setNewID(int newID) {
        this.newID = newID;
    }

    public int getSection() {
        return section;
    }

    public void setSection(int section) {
        this.section = section;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getNewstypeId() {
        return newstypeId;
    }

    public void setNewstypeId(int newstypeId) {
        this.newstypeId = newstypeId;
    }

    public int getNewsstateId() {
        return newsstateId;
    }

    public void setNewsstateId(int newsstateId) {
        this.newsstateId = newsstateId;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getVidoes() {
        return vidoes;
    }

    public void setVidoes(String vidoes) {
        this.vidoes = vidoes;
    }

    public String getSing() {
        return sing;
    }

    public void setSing(String sing) {
        this.sing = sing;
    }

    public News(int newID, int section, String title, int authorId, String content, int newstypeId, int newsstateId, String picture, String vidoes, String sing) {
        this.newID = newID;
        this.section = section;
        this.title = title;
        this.authorId = authorId;
        this.content = content;
        this.newstypeId = newstypeId;
        this.newsstateId = newsstateId;
        this.picture = picture;
        this.vidoes = vidoes;
        this.sing = sing;
    }
}
